import request from '@/utils/request'

// 查询砂浆配合比设计试验检测记录详情列表
export function listSjphbsjBaDetail(query) {
  return request({
    url: '/reportsj/sjphbsjBaDetail/list',
    method: 'get',
    params: query
  })
}

// 查询砂浆配合比设计试验检测记录详情详细
export function getSjphbsjBaDetail(id) {
  return request({
    url: '/reportsj/sjphbsjBaDetail/' + id,
    method: 'get'
  })
}

// 新增砂浆配合比设计试验检测记录详情
export function addSjphbsjBaDetail(data) {
  return request({
    url: '/reportsj/sjphbsjBaDetail',
    method: 'post',
    data: data
  })
}

// 修改砂浆配合比设计试验检测记录详情
export function updateSjphbsjBaDetail(data) {
  return request({
    url: '/reportsj/sjphbsjBaDetail',
    method: 'put',
    data: data
  })
}

// 删除砂浆配合比设计试验检测记录详情
export function delSjphbsjBaDetail(id) {
  return request({
    url: '/reportsj/sjphbsjBaDetail/' + id,
    method: 'delete'
  })
}
